package com.zksk.admin.service.productEnum;


import com.baomidou.mybatisplus.extension.service.IService;
import com.zksk.admin.domain.productRelease.dto.ProductReleaseDto;
import com.zksk.mbg.admin.domain.*;

import java.util.List;

public interface ProductReleaseService extends IService<ProductRelease> {


    //产品关联客户集合赋值--新增
    public ProductRelease setProductReleaseValue(ProductReleaseDto dto);

    //产品关联客户集合赋值--修改
    public List<ProductRelease> updateProductReleaseValue(ProductReleaseDto dto);

    //查看上架产品详情
    public ProductRelease checkProductReleaseDetails(Long id);

    //查看客户费率详情(查看上架产品详情)
    public List<Rate> getCustomerRate(Long id);

    //查询机构产品的费率
    public List<Rate> selectOrgRate(Long productEnumId, Long orgId);

    //查询客户产品的费率
    public List<Rate> selectProductReleaseRate(Long productEnumId, Long customerId);


    //查询客户名称下拉集合
    public List<Customer> selectCustomerNameList();

    //查询机构名称下拉集合
    public List<Org> selectOrgNameList(Long productEnumId);

    //删除产品
    public int deleteProductById(ProductRelease productRelease);

}
